using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.ICM
{
	[DataContract, Table("IcmDeepreeType")]
    public class DeepreeType
    {

		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "DeepreeId", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public int DeepreeId { get; set; }

		[DataMember, Display(Name = "DeepreeName", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public string DeepreeName { get; set; }

		[DataMember, Display(Name = "MinValue", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public Nullable<decimal> MinValue { get; set; }

		[DataMember, Display(Name = "LifeTimeYears", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public Nullable<int> LifeTimeYears { get; set; }

		[DataMember, Display(Name = "LifeTimeMonths", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public Nullable<int> LifeTimeMonths { get; set; }

		[DataMember, Display(Name = "PercentYear", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public Nullable<decimal> PercentYear { get; set; }

		[DataMember, Display(Name = "PercentMonth", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public Nullable<decimal> PercentMonth { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public Nullable<int> UpdatedBy { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.DeepreeTypeResource))]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

    }
}